class HealthRecord {
    String gender
    int height
    int weight
    String bloodType
    String bloodPressure
    int BMI
    SortedSet procedures
    Date lastUpdated = new Date()

    // vital stats
    // meds
    // allergies

    static constraints = {
        //lastUpdated(validator: { return (it >= new Date())})
        gender(inList:['Male','Female'])
        height()
        weight()
        bloodType(inList:['A+','B+','AB+','O+','A-','B-','AB-','O-'])
        bloodPressure()
        BMI()
        procedures()
     }
 //   String toString() { "PHR ${this.patient.name}" }
}
